home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / PowerPC / Translation package 1.50 / ctc v1.6 ƒ / ctc 1.6 readme next >
Encoding:
Text File  |  1994-01-04  |  2.4 KB  |  49 lines  |  [TEXT/ttxt]

  1. #### BINHEX     change-creator-type-15.hqx   ****
  2.  
  3. Date: Sun, 26 Sep 93 13:11:14 CDT 
  4. From: jemian@tmnxt1.iit.edu (Pete Jemian)
  5. Subject: [*] ctc v1.5 (ChangeTypeCreator + change EOLs, too!) 
  6.  
  7. v1.4 ChangeTypeCreator.c 
  8.     Change the file type and creator of any file dropped onto 
  9.     this program.  Prompts for the file type and creator, and 
  10.     changes all files dropped at the same time to the same type 
  11.     and creator.
  12.  
  13. Written by Brian Bechtel, based on code by Juri Munkki
  14. Feel free to use the code in your programs.
  15.  
  16. v1.5 Modified by Pete R. Jemian, Late-Nite(tm) Software
  17.  
  18. Option was added to convert TEXT files to the 
  19. chosen system of EOL (end-of-line) characters.  Note that EOLs
  20. on DOS files  are <CR><LF>  (VAX also uses this EOL format)
  21. on Mac files  are <CR>
  22. on UNIX files are <LF>
  23.  
  24. If you aren't bothered by this, that's just great.  If you are, this little hack will surely help.  Very useful for moving TEXT files between DOS, Mac, and UNIX machines 
  25. by diskNet (copy file onto disk, remove disk, sneaker it to other machine, ...).
  26.  
  27. BTW: The EOLconvert code reads the entire file into memory at one time, then does the conversion as the file is re-written.
  28.  
  29. WARNING: If you don't know what you are doing, things *could* get pretty fouled up.  They might not.  UNDO is not supported.  
  30. See the source code to determine *exactly* what is done.  
  31.  
  32. The problem that *could* occur is that you mistakenly select a non-TEXT file along with other TEXT files and convert them all to type TEXT *and* convert the EOL characters to the selection of your choice.  That's the danger.  Don't do it.  
  33. You are unprotected against goofball errors like this.
  34.  
  35. v1.6 Modified by Mark Fleming <MarkF@Post.Queensu.CA>
  36.  
  37. - Added code to display the current setting of the file before any changes.
  38. - Added option to only change type or creator
  39. - Changed EOL code to use Finder temporary Memory and only change file of type 'TEXT'
  40. - Added error checking and reporting routine
  41. - Added Balloon Help for System 7's finder
  42. - Added reading Application name for Creators entered from DeskTop database 
  43.      if exists and display it next to create entered.
  44. - read file header and check for correct header for "TIFF", "BMP", "GIFF", and "EPSF" and suggest the correct file type.
  45.  
  46. To Do...
  47. Fix bug were EOF translation does not work... eg. setup correct Wording Directory to support unix style file management routines.
  48. -------------------------><cut here><-----------------------------
  49.